
// 封装 一个类，让调用它的去继承 avatar
export default class {
  constructor ({id,name}) {
    this.id = id;
    this.name = name;
    this.avatar = `https://y.gtimg.cn/music/photo_new/T001R300x300M000${id}.jpg?max_age=2592000`
  }
}
